<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:gp="http://gp.componentes.jsf">
      
<f:view locale="#{linguagem.localeEscolhido}">
	<h:head>
	  <title><ui:insert name="tituloPagina"><h:outputText value="#{msgs.paginha_padrao}"></h:outputText></ui:insert></title>
			
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/jquery-ui.css"/>
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/jquery-ui.theme.css"/>
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/jquery-ui.theme.min.css"/>
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/external/combobox/combobox.css"/>
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/css/geral.css"></link>
  		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/external/jquery/jquery-1.10.2.js"></script>
  		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/jquery-ui.js"></script>
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery-ui-1.11.4.custom/external/combobox/combobox.js"></script>	
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/plugin-validator/dist/jquery.validate.js"></script>
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/plugin-validator/dist/additional-methods.min.js"></script>
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/plugin-validator/dist/localization/messages_pt_BR.min.js"></script>
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/menu/js/Menu.js"></script>	
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/jquery.mask.min.js"></script>
	
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/bootstrap-3.3.4-dist/css/bootstrap.min.css"/>
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/importacoes/bootstrap-modal-master/css/bootstrap-modal.css"/>
		
		<script type="text/javascript">

 			var msgs = ${msgsJson};

		</script>
		
		<script type="text/javascript">

		  var caminhoPath = "${facesContext.externalContext.requestContextPath}";
		
		</script>

		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/js/geral.js"></script>
		
		<ui:insert name="conteudoCabecalho">
		
		</ui:insert>
	</h:head>
	
	<h:body>
	
	<div class="painel_cabecalho">
	
			<div align="center" class="conteudo_cabecalho">
	
				<table>
					<tr>
						<td><img class="logo_fgp" src="#{facesContext.externalContext.requestContextPath}/resources/images/images.jpg" />
						</td>
	
	
						<td><h:outputText value="#{msgs.cabecalho_titulo_sistema}"></h:outputText></td>
					</tr>
				</table>
	
			</div>
	
	</div>
	
	<div class="painel_lateral">
	  <div align="center" class="conteudo_lateral">
	  
	  <gp:menu idMenu="menu">
	   
	    <gp:menuItem hrefItem="#{facesContext.externalContext.requestContextPath}/jsf-pages/paginas/home.html" valueItem="#{msgs.menu_lateral_home}"/>
      
	    <gp:submenu valueSub="#{msgs.menu_lateral_manter_clinicas}">
	    
	      <gp:menuItem hrefItem="#{facesContext.externalContext.requestContextPath}/jsf-pages/paginas/clinica/consultarClinica.html?action=Consultar" valueItem="#{msgs.menu_lateral_consultar_clinica}"/>
	      <gp:menuItem hrefItem="#{facesContext.externalContext.requestContextPath}/jsf-pages/paginas/clinica/incluirClinica.html?action=Incluir" valueItem="#{msgs.menu_lateral_incluir_clinica}"/>
	      	    
	    </gp:submenu>
	    
	    <gp:menuItem hrefItem="#{facesContext.externalContext.requestContextPath}/jsf-pages/paginas/configuracoes/configuracoes.html" valueItem="#{msgs.menu_lateral_configuracoes}"/>
	  
	    <gp:menuItem hrefItem="#" valueItem="#{msgs.menu_lateral_sair_sistema}"/>
	    
	  </gp:menu>
			    
	  </div>
	
	</div>
	
	<div class="painel_centro">
	
		<p:dialog header="Carregando..." resizable="false"
		closable="flase"
		visible="false"
		modal="true"
		widgetVar="dialog">
			
			<img src="#{facesContext.externalContext.requestContextPath}/resources/images/load3.gif" />
		</p:dialog>
		
		<p:ajaxStatus onstart="PF('dialog').show()" onsuccess="PF('dialog').hide()"></p:ajaxStatus>
			
		<ui:insert name="conteudoCentro">
		</ui:insert>
		
		
	</div>
	
	
	</h:body>
</f:view>

</html>
